/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.viettel.bkno.visionone.entities;

import java.io.Serializable;
import java.util.ArrayList;

/**
 *
 * @author hienpt9
 */
public class CachedInfo implements Serializable {
    User user;
    String token = "";
    ArrayList<Device> listDevices;
    ArrayList<User> listUsers;

    public CachedInfo(User user, String token) {
        // TODO: set cac thong tin lien quan den user can cached
        this.user = user;
        this.token = token;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public ArrayList<Device> getListDevices() {
        return listDevices;
    }

    public void setListDevices(ArrayList<Device> listDevices) {
        this.listDevices = listDevices;
    }

    public ArrayList<User> getListUsers() {
        return listUsers;
    }

    public void setListUsers(ArrayList<User> listUsers) {
        this.listUsers = listUsers;
    }
    
    
}
